package com.test.stock.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author IT贱男
 * @version v1.0.0
 * @date 2022/11/7 17:36
 */
@Data
@Component
@RefreshScope
public class User {

    @Value("${user.userName}")
    private String userName;

}
